package com.safeluck.floatwindow.app;

import android.app.Application;
import android.content.Context;

import com.facebook.stetho.Stetho;
import com.safeluck.floatwindow.util.MyLog;


/**
 * aaa
 * Created by lzw on 2018/8/23. 17:11:39
 * 邮箱：632393724@qq.com
 * All Rights Saved! Chongqing AnYun Tech co. LTD
 */
public class MyApplication extends Application {

    private static Context appContext;
    @Override
    public void onCreate() {
        super.onCreate();
        Stetho.initializeWithDefaults(this);
        MyLog.createIfNotExist();
        appContext = getApplicationContext();
    }

    public static Context getContext(){
            return appContext;
}
}
